package cn.stylefeng.guns.modular.emergency.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 应急预案分类表实例类
 *
 * @author xbz
 * @date 2023/04/24 14:58
 */
@TableName("epc_emergency_type")
@Data
@EqualsAndHashCode(callSuper = true)
public class EmergencyType extends BaseEntity {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ChineseDescription("主键id")
    private Long id;

    /**
     * 类别名称
     */
    @TableField("category_name")
    @ChineseDescription("类别名称")
    private String categoryName;


    /**
     * 删除标记：Y-已删除，N-未删除
     */
    @TableField("del_flag")
    @ChineseDescription("删除标记：Y-已删除，N-未删除")
    private String delFlag;

}
